/* 
 * File:   pchess.h
 * Author: Chris
 *
 * Created on March 4, 2011, 3:46 AM
 */

#ifndef _PCHESS_H
#define	_PCHESS_H

typedef short piecetype;
#define EMPTY 0
#define PAWN 1
#define BISHOP 2
#define KNIGHT 3
#define ROOK 4
#define QUEEN 5
#define KING 6

#define WHITE 1
#define BLACK -1
typedef short row;
typedef short file;

typedef short game_status;
#define NORMAL          0
#define WHITE_CHECK     1
#define BLACK_CHECK     -1

typedef short game_result;
#define IN_PROGRESS     0
#define WHITE_WINS      1
#define BLACK_WINS      2
#define STALEMATE       3

#endif	/* _PCHESS_H */

